home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 14
/
014.d81
/
pps #34
< prev
next >
Wrap
Text File
|
2022-08-26
|
1KB
|
63 lines
======================================
PEEKs, POKEs, & SYses -- Part 34
By James Gregory Weiler
and Alien Gardner
======================================
The eight-byte block we have been
describing is the fundamental graphic
building block of the Commodore 64.
The screen is composed of 1000 of
those blocks -- twenty-five rows of
forty blocks. When your computer is
displaying text, it can put one letter
in each block and you can choose from
all of 256 different letters. When
you use bit-mapped graphics, you get
to put your choice of over
18,000,000,000,000,000,000 (that's
eighteen million million million)
different patterns in each block.
So, that's enough theory. Let's
see how it's done.
There are five basic steps to using
bit-mapped graphics:
A. Set bit-mapped graphics mode.
B. Clear the screen.
C. Set color.
D. Plot stuff.
E. When you're done, return to the
text screen.
We show you how to do all these
things in BASIC in the next article.
Then we tell you about some machine
code to do it faster in the article
after that.
-------< continued in Part 35 >-------